<form autocomplete="off" class="layui-form layui-box modal-form-box validate-form" action="/system/dict/ajax_add"  method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">类型</label>
        <div class="layui-input-block">
            <input name="type" value=''  title="类型不为空" placeholder="类型" class="layui-input required">
            <span style="display: inline-block;">&nbsp;</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">key</label>
        <div class="layui-input-block">
            <input  name="name" value=''   title="key不为空" placeholder="key" class="layui-input required">
            <span style="display: inline-block;">&nbsp;</span>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">value</label>
        <div class="layui-input-block">
            <input autofocus name="value" value=''  title="value不为空" placeholder="value" class="layui-input required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">描述</label>
        <div class="layui-input-block">
            <input name="descr" value='' title="描述不为空" placeholder="描述" class="layui-input required">
            <span style="display: inline-block;">&nbsp;</span>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>